package com.zhu.edu.mapper;

import com.zhu.edu.entity.ChooseCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zjc
 * @since 2021-12-21
 */
@Mapper
public interface ChooseCourseMapper extends BaseMapper<ChooseCourse> {
    int insertChooseCourse(Integer userId,Integer courseId);
    int deleteChooseCourse(int userId, int courseId);
    ChooseCourse selectChooseCourseByCourseIdUserId(Integer userId, Integer courseId);
}
